<!DOCTYPE html>
<html>
<head>
  <title>My HTML to Convert to PDF</title>
</head>
<body>

<h1>Welcome to My PDF</h1>
<p>This is a simple HTML content to convert to PDF using QPdfWriter class.</p>

<ul>
  <li>Step 1: Create a QPDFWriter object</li>
  <li>Step 2: Set the output file path and name</li>
  <li>Step 3: Optionally set PDF document properties</li>
  <li>Step 4: Start writing content to the PDF document</li>
  <li>Step 5: Close the PDF document</li>
</ul>

</body>
</html>